<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Administrator
 * Date: 14-1-20
 * Time: 上午9:16
 * To change this template use File | Settings | File Templates.
 */

class kefuViewModel extends ViewModel
{
    public $viewFields = array(
       // 'employee' => array('id'=>'employeeID','name'=>'employeeName','_as'=>'e'),
       // 'dayworktype' => array('id'=> 'typeID','name' => 'typeName','_as'=>'t'),
       //'daywork'=>array('*', "_as" => "d", '_on' => 't.id=d.classid and d.adduser=e.id','_type'=>'LEFT'),
        'custom'=>array('*',"_as"=>'c' ,'_type'=>'LEFT'),
        'custombusiness'=> array('400tel'=>'400tel','website'=>'website','youhua'=>'youhua','yishangtong'=>'yishangtong', '_as'=>'bus' ,'_on'=>'c.id=bus.cid'),

    );
}




?>